*{
    padding: 0;
    margin: 0;
    background: #262626;
    box-sizing: border-box;
}
.ring{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 150px;
    height: 150px;
    background: transparent;
    border: 3px solid #3c3c3c;
    border-radius: 50%;
    text-align: center;
    line-height: 150px;
    font-family: sans-serif;
    font-size: 20px;
    color: #fff000;
    /* 定义字符间距 */
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 10px #fff000;
    box-shadow: 0 0 20px rgba(0, 0, 0, .5);
}
.ring::before{
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #fff000;
    border-right: 3px solid #fff000;
    border-radius: 50%;
    animation: animate 2s linear infinite;

}
span{
    display: block;
    position: absolute;
    top: calc(50% - 2px);
    left: 50%;
    width: 50%;
    height: 4px;
    background: transparent;
    transform-origin: left;
    transform: rotateZ(45deg);
    animation: animater 2s linear infinite;

}
span::before{
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff000;
    /* 这里是个细节，span是4px伪元素是16px */
    top: -6px;
    right: -8px;
    box-shadow: 0 0 20px #fff000,
    0 0 20px #fff000,
    0 0 20px #fff000,
    0 0 20px #fff000,
    0 0 20px #fff000;
    
}
@keyframes animate {
    0%{
        transform: rotateZ(0deg);
    }
    100%{
        transform: rotateZ(360deg);
    }
}@keyframes animater {
    0%{
        transform: rotateZ(45deg);
    }
    100%{
        transform: rotateZ(405deg);
    }
}





